import userStore from '@/store/user'

export default [
  {
    path: '/user',
    component: () => import('@/views/user/main.vue'),
    meta: {
      guard: userStore.guard,
      permission: false
    },
    children: [{
      path: '',
      component: () => import('@/views/user/home/index.vue'),
    },{
      path: 'config',
      component: () => import('@/views/user/config/index.vue'),
    },{
      path: 'account',
      component: () => import('@/views/user/account/index.vue'),
    }]
  }
]